﻿<%@ Page Title="Add Category" Language="C#" MasterPageFile="~/ManagerView.master"
    AutoEventWireup="true" CodeBehind="PageAddCatalog.aspx.cs" Inherits="BestBuy.PageAdmin.PageAddCatalog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div class="category">
        <table width="100%" align="center">
            <tr>
                <td colspan="2" class="td_center">
                    <h1>
                        <asp:Label ID="lbInfo" runat="server" Text="Add Category"></asp:Label>
                    </h1>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="td_left">
                    <asp:HyperLink runat="Server" ID="hlBlack" NavigateUrl="~/PageAdmin/PageCatalog.aspx"
                        Text="Back"></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td class="td_right">
                    <asp:Label ID="lbName" runat="server" Text="Name : "></asp:Label>
                </td>
                <td class="td_left">
                    <asp:TextBox ID="txtName" runat="server" Width="250px"></asp:TextBox>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td class="td_right">
                    <asp:Label ID="Label3" runat="server" Text="Parent : "></asp:Label>
                </td>
                <td class="td_left">
                    <asp:DropDownList ID="cbParent" runat="server" Width="265px" AppendDataBoundItems="True">
                        <asp:ListItem Value="" Text="---No Parent---" />
                    </asp:DropDownList>
                    <ajaxToolkit:ListSearchExtender ID="lseCatalog" PromptCssClass="ListSearchExtender"
                        runat="server" QueryTimeout="0" PromptPosition="Top" TargetControlID="cbParent">
                    </ajaxToolkit:ListSearchExtender>
                </td>
            </tr>
            <tr>
                <td class="style2">
                </td>
                <td align="left" class="style3">
                    <asp:Button ID="btnAdd" runat="server" Text="Add" CssClass="style_button" Width="70px"
                        OnClick="btnAdd_Click" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="td_left">
                    <asp:Panel ID="pnThongBao" runat="server">
                        <asp:Label ID="lbThongBao" runat="server"></asp:Label>
                    </asp:Panel>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
